package com.wgy.day33其他增强流.缓冲流.字符缓冲流;

/**
 * Created by pc on 2020/12/10 23:53
 * Description: LearningJava
 */
public class Test {
    public static void main(String[] args) {
        String abc = "  ";
//        String abc = "侍中、侍郎郭攸之、费祎、董允等，此皆良实，志虑忠纯，是以先帝简拔以";
        String[] arr = abc.split("\\.");
        System.out.println("长度===="+arr.length);
        String var1 = arr[0];
        String var2 = arr[1];
        System.out.println(var1);
//        System.out.println(var2);
    }
}
